<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="com.cgw.dmplt.rent.domain.RentFlow" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
  <head>
    
    <title>交租流水</title>
	<script type="text/javascript" src="../js/calendar.js"></script>
	<script>
		function queryForm(){
		var form=document.getElementById("form");
		document.getElementById("curentPage").value=0;
 	 	form.submit();
	}
	</script>
  </head>
  <body>
    <div class="register-container container">
            <div class="row">
              
                <div class="register span6">
                      <form name="form" id="form" action="${pageContext.request.contextPath}/rent/pay!list.action" method="post">   
                       				<table align="center" >
                       					<tr>
                       						<td>
                       							租客帐号：<input name="payFlow.userId"  size="7"  class="lable" />
                       						</td>
                       					</tr>
                       					<tr>
                       						<td>交租时间：<input name="payFlow.payDate" onclick="calendar()" size="7"  class="lable" /></td>
                       					</tr>
                       					<tr><td colspan="2"><input name="submit" type="submit" value="查询"/></td></tr>
                       				</table>                       
                       <table align="center" border="1">
                       		<tr>
                       			<td>流水ID</td>
                       			<td>房东银行帐号</td>
                       			<td>租客银行帐号</td>
                       			<td>房东支付宝帐号</td>
                       			<td>租客支付宝帐号</td>
                       			<td>其它支付方式ID </td>
                       			<td>交易方式</td>
                       			<td>房间ID</td>
                       			<td>房东身份证</td>
                       			<td>租客身份证</td>
                       			<td>租客ID</td>
                       			<td>交租金额</td>
                       			<td>交租时间</td>
                       			<td>交易状态</td>
                       		</tr>
                       		<s:iterator value="page.PageList" id="bean">
	 							<tr>
	                       			<td>${bean.payFlowId }</td>
	                       			<td>${bean.payAccount1 }</td>
	                       			<td>${bean.payAccount2 }</td>
	                       			<td>${bean.alipayId1 }</td>
	                       			<td>${bean.alipayId2 }</td>
	                       			<td>${bean.otherPay }</td>
	                       			<td>${bean.payType}</td>
	                       			<td>${bean.roomId}</td>
	                       			<td>${bean.cardId1}</td>
	                       			<td>${bean.cardId2}</td>
	                       			<td>${bean.userId}</td>
	                       			<td>${bean.payPrice}</td>
	                       			<td>${bean.payDate}</td>
	                       			<td>${bean.payStatus}</td>
	                       		</tr>
							</s:iterator>
              				<tr>
              					<td colspan="14">
              						当前第${page.curentPage}页,共${page.totalPages}页，共${page.totalRows}条记录
              					</td>
                            </tr>
                       </table>
                    </form>
                </div>
          </div>
        </div>
  </body>
</html>
 